#pragma once
#include "consoleWidget.h"
#include "meshManager.h"


class BaijiAccessor
{
	private:
		static Console* console;
		static MeshManager* mshMng;
	public:
		inline static const Console* getConsole() {std::cout << "get console" << std::endl; return console;};
		static void setConsole(Console& cons) {console = &cons;};
		
		inline static const MeshManager* getMeshManager() {std::cout << "get meshManager" << std::endl; return mshMng;};
		static void setMeshManager(MeshManager& msh) {mshMng = &msh;};
};